﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Settings.aspx.cs" Inherits="SPN.Layouts.SPN.pages.Settings" DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <link rel="Stylesheet" type="text/css" href="/_layouts/SPN/css/administration.css" />
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <div class="spn-adminpage">
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">Confirmation url</span>
            <asp:TextBox ID="tb_ConfirmationUrl" runat="server" CssClass="spn-adminpage-row-value" />
            <asp:RequiredFieldValidator runat="server" CssClass="spn-adminpage-row-validator" ControlToValidate="tb_ConfirmationUrl" Text="*" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title" style="font-weight: bold;">Subscribe template</span>
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">From</span>
            <asp:TextBox ID="tb_SubscribeEmailFrom" runat="server" CssClass="spn-adminpage-row-value" />
            <asp:RequiredFieldValidator runat="server" CssClass="spn-adminpage-row-validator" ControlToValidate="tb_SubscribeEmailFrom" Text="*" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">Subject</span>
            <asp:TextBox ID="tb_SubscribeEmailSubject" runat="server" CssClass="spn-adminpage-row-value" />
            <asp:RequiredFieldValidator runat="server" CssClass="spn-adminpage-row-validator" ControlToValidate="tb_SubscribeEmailSubject" Text="*" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">Content</span>
            <asp:TextBox ID="tb_SubscribeEmailContent" runat="server" CssClass="spn-adminpage-row-value" TextMode="MultiLine" Height="50px" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">Link text</span>
            <asp:TextBox ID="tb_SubscribeEmailLinkText" runat="server" CssClass="spn-adminpage-row-value" />
            <asp:RequiredFieldValidator runat="server" CssClass="spn-adminpage-row-validator" ControlToValidate="tb_SubscribeEmailLinkText" Text="*" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title" style="font-weight: bold;">UnSubscribe template</span>
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">From</span>
            <asp:TextBox ID="tb_UnSubscribeEmailFrom" runat="server" CssClass="spn-adminpage-row-value" />
            <asp:RequiredFieldValidator runat="server" CssClass="spn-adminpage-row-validator" ControlToValidate="tb_UnSubscribeEmailFrom" Text="*" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">Subject</span>
            <asp:TextBox ID="tb_UnSubscribeEmailSubject" runat="server" CssClass="spn-adminpage-row-value" />
            <asp:RequiredFieldValidator runat="server" CssClass="spn-adminpage-row-validator" ControlToValidate="tb_UnSubscribeEmailSubject" Text="*" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">Content</span>
            <asp:TextBox ID="tb_UnSubscribeEmailContent" runat="server" CssClass="spn-adminpage-row-value" TextMode="MultiLine" Height="50px" />
        </div>
        <div class="spn-adminpage-row">
            <span class="spn-adminpage-row-title">Link text</span>
            <asp:TextBox ID="tb_UnSubscribeEmailLinkText" runat="server" CssClass="spn-adminpage-row-value" />
            <asp:RequiredFieldValidator runat="server" CssClass="spn-adminpage-row-validator" ControlToValidate="tb_UnSubscribeEmailLinkText" Text="*" />
        </div>
        <div class="spn-adminpage-row">
            <asp:LinkButton ID="lib_Save" runat="server" Text="Save" CssClass="spn-adminpage-row-button" OnClick="lib_Save_Click" />
            <asp:HyperLink ID="hl_Cancel" runat="server" Text="Cancel" CssClass="spn-adminpage-row-button" />
        </div>
    </div>
</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    Newsletter settings
</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
    Newsletter settings
</asp:Content>
